export default function (sequelize, DataTypes) {
  const Emails = sequelize.define('Emails', {
    // 主键ID
    id: {
      type: DataTypes.INTEGER,
      field: 'id',
      primaryKey: true
    },
    // 是否删除
    mark: {
      type: DataTypes.INTEGER,
      field: 'mark',
    },
    // 推送邮箱
    t_email: {
      type: DataTypes.STRING,
      field: 't_email'
    }
  }, {
    tableName: 't_emails',
    timestamps: false
  });

  return Emails;
}